Skip to content

feat: changing the playback speed and volume with the mouse wheel / scroll (fixes #3388)#3661

Closed
W07L wants to merge 0 commit intocode-charity:masterfrom
W07L:master
Closed

feat: changing the playback speed and volume with the mouse wheel / scroll (fixes #3388)#3661
W07L wants to merge 0 commit intocode-charity:masterfrom
W07L:master

Conversation

@W07L
Copy link

@W07L W07L commented Mar 3, 2026

Summary

I have work on this feature request #3388. I have add the possibility to change speedback speed and volume with Mouse wheel/scroll + Shift/Ctrl/Alt
Both of them work by toggle the option and set the shotcuts. It take effect when the mouse is on the video or the video is on fullscreen

Change

  • Add a toogle option to enable the use of Mouse wheel in volume section
  • Add 2 more shortcuts in volume section
  • Add a toogle option to enable the use of Mouse wheel in speedback speed section
  • Add 2 more shortcuts in speedback speed section

Test

I have on Microsoft Edge, Google Chrome and Firefox and it work on all of them.

if (message.key.startsWith('shortcut_') || message.key === 'shortcuts_volume_wheel_ctrl') {
camelized_key = 'shortcuts';
if (typeof ImprovedTube.shortcutsInit === 'function') {
ImprovedTube.shortcutsInit();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shortcutsInit can be called when shortcuts change,
not required again for every shortcut pressed.

@ImprovedTube
Copy link
Member

Thank you so much! @W07L

Please check: #862

Glad you had a look at shortcuts.js #1565


ImprovedTube needs structure / feature discoverability #2251 #748

We have the functionality ( @Heinz14 @W07L )
wheel

(Yet it is popular and should have had a quick preset option accessible with one or a few clicks.)
Only changes in menu/skeleton-parts/shortcuts.js are required.

@ImprovedTube
Copy link
Member

hi @W07L

Test
I have on Microsoft Edge, Google Chrome and Firefox and it work on all of them.

Are you sure? Doesn't look finished to me!

Will you finish it?

(Consider:

Only changes in menu/skeleton-parts/shortcuts.js are required

)

Thanks!

@W07L
Copy link
Author

W07L commented Mar 12, 2026

hi @W07L

Test
I have on Microsoft Edge, Google Chrome and Firefox and it work on all of them.

Are you sure? Doesn't look finished to me!

Will you finish it?

(Consider:

Only changes in menu/skeleton-parts/shortcuts.js are required

)

Thanks!

Hello @ImprovedTube, sorry i totally forget about that. So i only have to make change in menu/skeleton-parts/shortcuts.js ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants